package top.fangw.tenant.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import top.fangw.common.core.entity.BaseEntityWithOutName;

/**
 * <p>
 * 用途：字典的数据值
 * </p>
 *
 * @author fangw
 * @since 2024-02-23
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("g_tbl_sys_dict_data")
@Schema(name = "SysDictData", description = "用途：字典的数据值")
public class SysDictData extends BaseEntityWithOutName {

    private static final long serialVersionUID = 1L;

    @Schema(description = "字典值")
    @TableField("value")
    private String value;

    @Schema(description = "字典显示内容")
    @TableField("label")
    private String label;

    @Schema(description = "字典类型id字典分类id，type表的id")
    @TableField("dict_type_id")
    private String dictTypeId;

    @Schema(description = "字典内容描述")
    @TableField("description")
    private String description;

    @Schema(description = "是否可删除1:可删除	0:不可删除")
    @TableField("is_deletable")
    private String isDeletable;

    @Schema(description = "字典数据状态1启用 0 未启用")
    @TableField("status")
    private String status;

    @Schema(description = "排序字典在该分类下创建的顺序")
    @TableField("sort")
    private Integer sort;
}
